package com.zd.wechatPlatform.service;

import java.util.List;

import com.zd.wechatPlatform.bean.model.WxAccount;

public interface IWxAccountService extends IBaseService<WxAccount>{
    public List<WxAccount>  findAll();
    
    /**
     * 根据appId找到对应的微信公众号账号
     * @param appId
     * @return
     * @throws Exception
     */
    public WxAccount getByAppId(String appId)throws Exception;
    
    
    /**
     * 根据accountId找到对应的微信公众号账号
     * @param appId
     * @return
     * @throws Exception
     */
    public WxAccount getByAccountId(String accountId)throws Exception;
}
